package com.example.demo.service;
import com.example.demo.pojo.PageBean;
import com.example.demo.pojo.Recharge;
import com.example.demo.pojo.User;


import java.util.List;


public interface RechargeService {


    PageBean<Recharge> findByUserid(int userId, int pageNum, int pageSize);

    void rechargemoney(String paymentmethod, double amount, double balanceafter, int userid);

    PageBean<Recharge> findByrealname(String realname, int pageNum, int pageSize);

    Recharge getByrecordid(Integer recordid);

    void deleterecharge(Integer recordid);

    void cancelrecharge(Integer recordid);

    Recharge getBypayid(String pay);

    void updatestatus(Integer recordid);
}
